package com.example.myapplication.api

import retrofit2.http.GET
import retrofit2.http.Query

interface WeatherApi {

    @GET("v3/weather/weatherInfo")
    suspend fun getWeatherForCity(
        @Query("city") city: String,
        @Query("key") key: String,
        @Query("extensions") extensions: String = "all",
        @Query("output") output: String = "json",
        @Query("date") date: String
    ): WeatherResponse

}
